package com.jic.product.service;

import com.jic.common.base.vo.Page;
import com.jic.common.base.vo.PageResult;
import com.jic.common.base.vo.RestResult;
import com.jic.product.entity.BrandManagement;
import com.jic.product.manage.request.BrandManagementRequest;
import com.jic.product.manage.response.BrandManagementResponse;
import com.jic.product.manage.response.ProductBrandResponse;

import java.util.List;

/**
* 商品品牌资质管理
* @author :
* @email :
* @since : 2020-01-10 07:03:01
* @version : v1.0.0
*/
public interface BrandManagementService {

    long insert(BrandManagementRequest brandManagement);

    long delete(Long id);

    long update(BrandManagementRequest brandManagement);

    BrandManagement queryByPrimaryKey(Long id);

    List<BrandManagement> query(BrandManagement brandManagement);

    PageResult<BrandManagementResponse> queryPage(BrandManagementRequest brandManagement, Page pageQuery);

    RestResult queryInfo(BrandManagementRequest t);

    List<ProductBrandResponse> queryMerchantProductBrand(BrandManagementRequest brandManagement);
}
